/*
** Zabbix
** Copyright (C) 2001-2018 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
**/

#include "../zbxcunit/zbxcunit.h"

static int	cu_init_empty()
{
	return CUE_SUCCESS;
}

static int	cu_clean_empty()
{
	return CUE_SUCCESS;
}

static void	cu_test_is_item_processed_by_server(unsigned char type, const char *key, int success)
{
	int	ret;
	char	description[ZBX_KIBIBYTE * 64];

	zbx_snprintf(description, sizeof(description), "type %u key '%s'", type, key);

	ret = is_item_processed_by_server(type, key);
	ZBX_CU_ASSERT_INT_EQ_FATAL(description, ret, success);
}

static void	test_is_item_processed_by_server(void)
{
	struct is_item_processed_by_server_test_data_t
	{
		unsigned char	type;
		const char	*key;
		int		success;	/* expected return value */
	};

	size_t	i;
	struct is_item_processed_by_server_test_data_t	test_cases[] = {
			{ ITEM_TYPE_ZABBIX, "key1[]", FAIL },
			{ ITEM_TYPE_ZABBIX, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_SNMPv1, "key1[]", FAIL },
			{ ITEM_TYPE_SNMPv1, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_TRAPPER, "key1[]", FAIL },
			{ ITEM_TYPE_TRAPPER, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_SIMPLE, "key1[]", FAIL },
			{ ITEM_TYPE_SIMPLE, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_SNMPv2c, "key1[]", FAIL },
			{ ITEM_TYPE_SNMPv2c, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_INTERNAL, "key[]1", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,,items]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix1[host,,items]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbi1[host,,items]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,discovery,items]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,,items_unsupported]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,discovery,items_unsupported]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,discovery,interfaces]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,,interfaces]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,,maintenance]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix[host,discovery,,maintenance]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[proxy,proxy1,lastaccess]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix[proxy,,lastaccess]", SUCCEED },
			{ ITEM_TYPE_INTERNAL, "zabbix1[proxy,,lastaccess]", FAIL },
			{ ITEM_TYPE_INTERNAL, "zabbix[proxy,,items]", FAIL },
			{ ITEM_TYPE_SNMPv3, "key1[]", FAIL },
			{ ITEM_TYPE_SNMPv3, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_ZABBIX_ACTIVE, "key1[]", FAIL },
			{ ITEM_TYPE_ZABBIX_ACTIVE, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_AGGREGATE, "key1[]", SUCCEED },
			{ ITEM_TYPE_AGGREGATE, "zabbix[host,,items]", SUCCEED },
			{ ITEM_TYPE_HTTPTEST, "key1[]", FAIL },
			{ ITEM_TYPE_HTTPTEST, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_EXTERNAL, "key1[]", FAIL },
			{ ITEM_TYPE_EXTERNAL, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_DB_MONITOR, "key1[]", FAIL },
			{ ITEM_TYPE_DB_MONITOR, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_IPMI, "key1[]", FAIL },
			{ ITEM_TYPE_IPMI, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_SSH, "key1[]", FAIL },
			{ ITEM_TYPE_SSH, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_TELNET, "key1[]", FAIL },
			{ ITEM_TYPE_TELNET, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_CALCULATED, "key1[]", SUCCEED },
			{ ITEM_TYPE_CALCULATED, "zabbix[host,,items]", SUCCEED },
			{ ITEM_TYPE_JMX, "key1[]", FAIL },
			{ ITEM_TYPE_JMX, "zabbix[host,,items]", FAIL },
			{ ITEM_TYPE_SNMPTRAP, "key1[]", FAIL },
			{ ITEM_TYPE_SNMPTRAP, "zabbix[host,,items]", FAIL },
			{ 255, "key1[]", FAIL },		/* non-existing item type */
			{ 255, "zabbix[host,,items]", FAIL }
			};

	ZBX_CU_LEAK_CHECK_START();

	for (i = 0; ARRSIZE(test_cases) > i; i++)
		cu_test_is_item_processed_by_server(test_cases[i].type, test_cases[i].key, test_cases[i].success);

	ZBX_CU_LEAK_CHECK_END();
}

static int	saved_CONFIG_PINGER_FORKS,
		saved_CONFIG_POLLER_FORKS,
		saved_CONFIG_IPMIPOLLER_FORKS,
		saved_CONFIG_JAVAPOLLER_FORKS;

static int	cu_init_poller_forks()
{
	saved_CONFIG_PINGER_FORKS = CONFIG_PINGER_FORKS,
	saved_CONFIG_POLLER_FORKS = CONFIG_POLLER_FORKS,
	saved_CONFIG_IPMIPOLLER_FORKS = CONFIG_IPMIPOLLER_FORKS,
	saved_CONFIG_JAVAPOLLER_FORKS = CONFIG_JAVAPOLLER_FORKS;

	/* ATTENTION: only the case when all kinds of poller processes have been started is covered */

	while (0 == CONFIG_PINGER_FORKS)
		CONFIG_PINGER_FORKS = rand();

	while (0 == CONFIG_POLLER_FORKS)
		CONFIG_POLLER_FORKS = rand();

	while (0 == CONFIG_IPMIPOLLER_FORKS)
		CONFIG_IPMIPOLLER_FORKS = rand();

	while (0 == CONFIG_JAVAPOLLER_FORKS)
		CONFIG_JAVAPOLLER_FORKS = rand();

	return CUE_SUCCESS;
}

static int	cu_clean_poller_forks()
{
	CONFIG_PINGER_FORKS = saved_CONFIG_PINGER_FORKS;
	CONFIG_POLLER_FORKS = saved_CONFIG_POLLER_FORKS;
	CONFIG_IPMIPOLLER_FORKS = saved_CONFIG_IPMIPOLLER_FORKS;
	CONFIG_JAVAPOLLER_FORKS = saved_CONFIG_JAVAPOLLER_FORKS;

	return CUE_SUCCESS;
}

static void	test_DCitem_poller_type_update(void)
{
	size_t	i;
	struct
	{
		enum {DIRECTLY, BY_PROXY}	host_monitored;
		unsigned char			item_type;
		const char			*item_key;
		unsigned char			item_poller_type;
		int				flags;	/* only ZBX_HOST_UNREACHABLE and ZBX_ITEM_COLLECTED are used */
		unsigned char			success_poller_type;
	}
	test_cases[] = {

		/* cases when host is monitored by server or function is called within proxy */

		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_PINGER		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_IPMI		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_JAVA		},
		{DIRECTLY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_POLLER_TYPE_UNREACHABLE	},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{DIRECTLY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},

		/* cases when host belongs to proxy */

		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv1,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TRAPPER,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SIMPLE,		"icmpping",		ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv2c,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_INTERNAL,		"zabbix[host,,items]",	ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPv3,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_ZABBIX_ACTIVE,	"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_AGGREGATE,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_HTTPTEST,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_EXTERNAL,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DB_MONITOR,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_IPMI,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SSH,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_TELNET,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_NO_POLLER,			0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_POLLER_TYPE_UNREACHABLE	},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_CALCULATED,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_POLLER_TYPE_NORMAL		},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_JMX,			"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_SNMPTRAP,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_NO_POLLER,			ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_NORMAL,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_UNREACHABLE,	ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_IPMI,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_PINGER,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		0,						ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_ITEM_COLLECTED,				ZBX_NO_POLLER			},
		{BY_PROXY,	ITEM_TYPE_DEPENDENT,		"k",			ZBX_POLLER_TYPE_JAVA,		ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED,	ZBX_NO_POLLER			}
	};

	ZBX_CU_LEAK_CHECK_START();

	for (i = 0; ARRSIZE(test_cases) > i; i++)
	{
		ZBX_DC_HOST	*host = NULL;
		ZBX_DC_ITEM	*item = NULL, item_copy;
		int		flags;
		char		desc[ZBX_KIBIBYTE * 64], test_case_desc[ZBX_KIBIBYTE * 64];
		const char	*host_monitored;

		/* initialize */

		host = zbx_cu_galloc(host, sizeof(ZBX_DC_HOST));

		switch (test_cases[i].host_monitored)
		{
			case DIRECTLY:
				host_monitored = "directly";
				host->proxy_hostid = 0;
				break;
			case BY_PROXY:
				host_monitored = "by proxy";
				while (0 == host->proxy_hostid)
					host->proxy_hostid = rand();
				break;
			default:
				host_monitored = "by aliens";
				THIS_SHOULD_NEVER_HAPPEN;
		}

		item = zbx_cu_galloc(item, sizeof(ZBX_DC_ITEM));
		item->type = test_cases[i].item_type;
		item->key = test_cases[i].item_key;
		item->poller_type = test_cases[i].item_poller_type;
		memcpy(&item_copy, item, sizeof(ZBX_DC_ITEM));

		flags = rand();
		flags &= ~(ZBX_HOST_UNREACHABLE | ZBX_ITEM_COLLECTED);
		flags |= test_cases[i].flags;

		/* compose case description */

		zbx_snprintf(test_case_desc, sizeof(test_case_desc), "host is monitored %s and is %sreachable,"
				" item type is '%s', key is '%s', poller type is '%s' and it has%s been just collected"
				" (#" ZBX_FS_SIZE_T ")",
				host_monitored,
				(0 == (test_cases[i].flags & ZBX_HOST_UNREACHABLE) ? "" : "un"),
				zbx_cu_item_type_string(test_cases[i].item_type),
				test_cases[i].item_key,
				zbx_cu_poller_type_string(test_cases[i].item_poller_type),
				(0 == (test_cases[i].flags & ZBX_ITEM_COLLECTED) ? "n't" : ""), (zbx_fs_size_t)i);

		/* run */

		DCitem_poller_type_update(item, (const ZBX_DC_HOST *)host, flags);

		/* check */

		zbx_snprintf(desc, sizeof(desc), "item's poller type is correctly updated when %s", test_case_desc);
		ZBX_CU_ASSERT_INT_EQ(desc, item->poller_type, test_cases[i].success_poller_type);

		item->poller_type = test_cases[i].item_poller_type;

		zbx_snprintf(desc, sizeof(desc), "nothing but item's poller type was modified when %s", test_case_desc);
		ZBX_CU_ASSERT_INT_EQ(desc, memcmp(&item_copy, item, sizeof(ZBX_DC_ITEM)), 0);

		/* clean */

		zbx_free(host);
		zbx_free(item);
	}

	ZBX_CU_LEAK_CHECK_END();
}

int	ZBX_CU_DECLARE(dbconfig_test)
{
	CU_pSuite	suite = NULL;

	/* test suite: is_item_processed_by_server() */
	if (NULL == (suite = CU_add_suite("is_item_processed_by_server", cu_init_empty, cu_clean_empty)))
		return CU_get_error();

	ZBX_CU_ADD_TEST(suite, test_is_item_processed_by_server);

	/* test suite: DCitem_poller_type_update() */
	if (NULL == (suite = CU_add_suite("DCitem_poller_type_update", cu_init_poller_forks, cu_clean_poller_forks)))
		return CU_get_error();

	ZBX_CU_ADD_TEST(suite, test_DCitem_poller_type_update);

	return CUE_SUCCESS;
}
